package edu.scau.system.domain;

import java.util.Date;

import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 * 角色信息表(Role)实体类
 *
 * @author hwh
 * @since 2025-03-15 17:39:43
 */

@Tag(name = "角色信息表", description = "角色信息表 domain")
@Data
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(name = "roleId", description = "角色ID", type = "Long")
    private Long roleId;

    @Schema(name = "roleName", description = "角色名称", type = "String")
    private String roleName;

    @Schema(name = "roleKey", description = "角色权限字符串", type = "String")
    private String roleKey;

    @Schema(name = "roleSort", description = "显示顺序", type = "Integer")
    private Integer roleSort;

    @Schema(name = "status", description = "状态", type = "String")
    private String status;

    @Schema(name = "delFlag", description = "删除标志", type = "String")
    private String delFlag;

    @Schema(name = "createBy", description = "创建者", type = "String")
    private String createBy;

    @Schema(name = "createTime", description = "创建时间", type = "Date")
    private Date createTime;

    @Schema(name = "updateBy", description = "更新者", type = "String")
    private String updateBy;

    @Schema(name = "updateTime", description = "更新时间", type = "Date")
    private Date updateTime;



    public Role() {
    }

    public Role( Long roleId,   String roleName,   String roleKey,   Integer roleSort,   String status,   String delFlag,   String createBy,   Date createTime,   String updateBy,   Date updateTime ) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleKey = roleKey;
        this.roleSort = roleSort;
        this.status = status;
        this.delFlag = delFlag;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
    }
}
